import CommonApi from './common'

class MsMaintrecordApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/ms/maintrecord'
    }
    // 合同的树形结构
    contractTreeList(data) {
        const path = this.resolvePath('/contract/list')
        return this.post(path, data)
    }
    // 养护记录查询
    getList(data) {
        const path = this.resolvePath('/list')
        return this.post(path, data)
    }
}

export default MsMaintrecordApi
